package cn.xt.service.user;

import cn.xt.bean.Users;

public interface UserService {
    //登陆
    public Users login(String phone, String pwd);

    //验证手机号码
    public Users yzphone(String phone);

    //注册
    public int register(Users users);
    //忘记密码  查询用户名是否存在
    public Users modifyByName(String usersname);
    //忘记密码 修改密码
    public int UpdatePassword(String pwd, String phone);
    //修改头像
    public boolean updaImage(String idPicPath,int users_id);
    //修改手机号根据ID
    public boolean UpdPhone(String phone,int user_id);
    //修改用户
   public boolean UpdateUser(Users users);

   public Users user(int users_id);
}
